/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace DGZImp.BizEntity.DomainModels
{
    [Entity(TableCnName = "任务调度",TableName = "ZAgvTask",DBServer = "ServiceDbContext")]
    public partial class ZAgvTask:ServiceEntity
    {
        /// <summary>
       ///运单号
       /// </summary>
       [Display(Name ="运单号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string task_no { get; set; }

       /// <summary>
       ///执行设备编号
       /// </summary>
       [Display(Name ="执行设备编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string AgvNo { get; set; }

       /// <summary>
       ///设备类型
       /// </summary>
       [Display(Name ="设备类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string AgvType { get; set; }

       /// <summary>
       ///任务状态
       /// </summary>
       [Display(Name ="任务状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? task_status { get; set; }

       /// <summary>
       ///容器编码
       /// </summary>
       [Display(Name ="容器编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string container_code { get; set; }

       /// <summary>
       ///起始点
       /// </summary>
       [Display(Name ="起始点")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string start_site { get; set; }

       /// <summary>
       ///起点名称
       /// </summary>
       [Display(Name ="起点名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string StartSiteName { get; set; }

       /// <summary>
       ///起点任务
       /// </summary>
       [Display(Name ="起点任务")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string StartAction { get; set; }

       /// <summary>
       ///目标点
       /// </summary>
       [Display(Name ="目标点")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string end_site { get; set; }

       /// <summary>
       ///终点名称
       /// </summary>
       [Display(Name ="终点名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string EndSiteName { get; set; }

       /// <summary>
       ///终点任务
       /// </summary>
       [Display(Name ="终点任务")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string EndAction { get; set; }

       /// <summary>
       ///ID
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="ID")]
       [MaxLength(36)]
       [Column(TypeName="bigint")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public long id { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CreateID { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string ModifyID { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///容器ID
       /// </summary>
       [Display(Name ="容器ID")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       public Guid? container_id { get; set; }

       /// <summary>
       ///逻辑删除标志
       /// </summary>
       [Display(Name ="逻辑删除标志")]
       [Column(TypeName="int")]
       public int? IsValid { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       public string Remarks { get; set; }

       
    }
}